{% extends "in_base.html" %}
{% block content %}

<div class="loginmain" style="padding-bottom: 150px;">
    <div class="login-title">
        <span>Sign</span>
<!--        <span>注册</span>-->
    </div>

    <div class="login-con">
        <form onsubmit="return" method="POST" action="" id="sign_form">
            <input type='text' name='md5_pwd' id='md5_pwd' value='' hidden/>
            <div class="login-user">
                <div class="icon">
                    <img src="{{url_for('static',filename='image/user_icon_copy.png')}}" >
                </div>
                <input type="text" name="username" placeholder="nickname" autocomplete="off" value="" id="nickname">
<!--                <input type="text" name="username" placeholder="昵称" autocomplete="off" value="" id="nickname">-->
                <p class="var_text"id="username_" hidden></p>
            </div>
            <div class="login-user">
                <div class="icon">
                    <img src="{{url_for('static',filename='image/user_icon_copy.png')}}" >
                </div>
                <input type="text" name="account" placeholder="phone number" autocomplete="off" value="" id="account">
<!--                <input type="text" name="account" placeholder="手机号" autocomplete="off" value="" id="account">-->
                <p class="var_text"id="account_" hidden></p>
            </div>
            <div class="login-pwd">
                <div class="icon">
                    <img src="{{url_for('static',filename='image/lock_icon_copy.png')}}" >
                </div>
                <input type="password" name="pwd" placeholder="password" autocomplete="off" value="" id="pwd">
<!--                <input type="password" name="pwd" placeholder="密码" autocomplete="off" value="" id="pwd">-->
            </div>
            <div class="login-pwd">
                <div class="icon">
                    <img src="{{url_for('static',filename='image/key.png')}}" >
                </div>
                <input type="password" name="pwd2" placeholder="password again" autocomplete="off" value="" id="pwd2">
<!--                <input type="password" name="pwd2" placeholder="确认密码" autocomplete="off" value="" id="pwd2">-->
                <p class="var_text" id="pwd_" hidden></p>
            </div>
            <div class="login-btn">
                <input type="button" value="Sign" onclick="validateSignForm()">
<!--                <input type="button" value="注册" onclick="validateSignForm()">-->
            </div>
        </form>
        <br>
        <br>
        <br>
        <div class="login-btn">
            <a href="{{ url_for('login')}}"><input type="button" value="Login"></a>
<!--            <a href="{{ url_for('login')}}"><input type="button" value="登录"></a>-->
        </div>
    </div>

</div>
{% endblock %}